3.289 \(\int \frac {x (a+b \log (c x^n))}{(d+e x^2)^{3/2}} \, dx\)

Optimal. Leaf size=57 \[ -\frac {a+b \log \left (c x^n\right )}{e \sqrt {d+e x^2}}-\frac {b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^2}}{\sqrt {d}}\right )}{\sqrt {d} e} \]

[Out]

-b*n*arctanh((e*x^2+d)^(1/2)/d^(1/2))/e/d^(1/2)+(-a-b*ln(c*x^n))/e/(e*x^2+d)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.08, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {2338, 266, 63, 208} \[ -\frac {a+b \log \left (c x^n\right )}{e \sqrt {d+e x^2}}-\frac {b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^2}}{\sqrt {d}}\right )}{\sqrt {d} e} \]

Antiderivative was successfully verified.

[In]

Int[(x*(a + b*Log[c*x^n]))/(d + e*x^2)^(3/2),x]

[Out]

-((b*n*ArcTanh[Sqrt[d + e*x^2]/Sqrt[d]])/(Sqrt[d]*e)) - (a + b*Log[c*x^n])/(e*Sqrt[d + e*x^2])

Rule 63

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - (a*d)/b + (d*x^p)/b)^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 208

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-(a/b), 2]*ArcTanh[x/Rt[-(a/b), 2]])/a, x] /; FreeQ[{a,
b}, x] && NegQ[a/b]

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 2338

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^(r_))^(q_.), x_Symbol] :
> Simp[(f^m*(d + e*x^r)^(q + 1)*(a + b*Log[c*x^n])^p)/(e*r*(q + 1)), x] - Dist[(b*f^m*n*p)/(e*r*(q + 1)), Int[
((d + e*x^r)^(q + 1)*(a + b*Log[c*x^n])^(p - 1))/x, x], x] /; FreeQ[{a, b, c, d, e, f, m, n, q, r}, x] && EqQ[
m, r - 1] && IGtQ[p, 0] && (IntegerQ[m] || GtQ[f, 0]) && NeQ[r, n] && NeQ[q, -1]

Rubi steps

\begin {align*} \int \frac {x \left (a+b \log \left (c x^n\right )\right )}{\left (d+e x^2\right )^{3/2}} \, dx &=-\frac {a+b \log \left (c x^n\right )}{e \sqrt {d+e x^2}}+\frac {(b n) \int \frac {1}{x \sqrt {d+e x^2}} \, dx}{e}\\ &=-\frac {a+b \log \left (c x^n\right )}{e \sqrt {d+e x^2}}+\frac {(b n) \operatorname {Subst}\left (\int \frac {1}{x \sqrt {d+e x}} \, dx,x,x^2\right )}{2 e}\\ &=-\frac {a+b \log \left (c x^n\right )}{e \sqrt {d+e x^2}}+\frac {(b n) \operatorname {Subst}\left (\int \frac {1}{-\frac {d}{e}+\frac {x^2}{e}} \, dx,x,\sqrt {d+e x^2}\right )}{e^2}\\ &=-\frac {b n \tanh ^{-1}\left (\frac {\sqrt {d+e x^2}}{\sqrt {d}}\right )}{\sqrt {d} e}-\frac {a+b \log \left (c x^n\right )}{e \sqrt {d+e x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.14, size = 77, normalized size = 1.35 \[ -\frac {\frac {a}{\sqrt {d+e x^2}}+\frac {b \log \left (c x^n\right )}{\sqrt {d+e x^2}}+\frac {b n \log \left (\sqrt {d} \sqrt {d+e x^2}+d\right )}{\sqrt {d}}-\frac {b n \log (x)}{\sqrt {d}}}{e} \]

Antiderivative was successfully verified.

[In]

Integrate[(x*(a + b*Log[c*x^n]))/(d + e*x^2)^(3/2),x]

[Out]

-((a/Sqrt[d + e*x^2] - (b*n*Log[x])/Sqrt[d] + (b*Log[c*x^n])/Sqrt[d + e*x^2] + (b*n*Log[d + Sqrt[d]*Sqrt[d + e
*x^2]])/Sqrt[d])/e)

________________________________________________________________________________________

fricas [A]  time = 0.46, size = 169, normalized size = 2.96 \[ \left [\frac {{\left (b e n x^{2} + b d n\right )} \sqrt {d} \log \left (-\frac {e x^{2} - 2 \, \sqrt {e x^{2} + d} \sqrt {d} + 2 \, d}{x^{2}}\right ) - 2 \, {\left (b d n \log \relax (x) + b d \log \relax (c) + a d\right )} \sqrt {e x^{2} + d}}{2 \, {\left (d e^{2} x^{2} + d^{2} e\right )}}, \frac {{\left (b e n x^{2} + b d n\right )} \sqrt {-d} \arctan \left (\frac {\sqrt {-d}}{\sqrt {e x^{2} + d}}\right ) - {\left (b d n \log \relax (x) + b d \log \relax (c) + a d\right )} \sqrt {e x^{2} + d}}{d e^{2} x^{2} + d^{2} e}\right ] \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*log(c*x^n))/(e*x^2+d)^(3/2),x, algorithm="fricas")

[Out]

[1/2*((b*e*n*x^2 + b*d*n)*sqrt(d)*log(-(e*x^2 - 2*sqrt(e*x^2 + d)*sqrt(d) + 2*d)/x^2) - 2*(b*d*n*log(x) + b*d*
log(c) + a*d)*sqrt(e*x^2 + d))/(d*e^2*x^2 + d^2*e), ((b*e*n*x^2 + b*d*n)*sqrt(-d)*arctan(sqrt(-d)/sqrt(e*x^2 +
 d)) - (b*d*n*log(x) + b*d*log(c) + a*d)*sqrt(e*x^2 + d))/(d*e^2*x^2 + d^2*e)]

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b \log \left (c x^{n}\right ) + a\right )} x}{{\left (e x^{2} + d\right )}^{\frac {3}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*log(c*x^n))/(e*x^2+d)^(3/2),x, algorithm="giac")

[Out]

integrate((b*log(c*x^n) + a)*x/(e*x^2 + d)^(3/2), x)

________________________________________________________________________________________

maple [F]  time = 0.36, size = 0, normalized size = 0.00 \[ \int \frac {\left (b \ln \left (c \,x^{n}\right )+a \right ) x}{\left (e \,x^{2}+d \right )^{\frac {3}{2}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(b*ln(c*x^n)+a)/(e*x^2+d)^(3/2),x)

[Out]

int(x*(b*ln(c*x^n)+a)/(e*x^2+d)^(3/2),x)

________________________________________________________________________________________

maxima [A]  time = 0.60, size = 59, normalized size = 1.04 \[ -\frac {b n \operatorname {arsinh}\left (\frac {d}{\sqrt {d e} {\left | x \right |}}\right )}{\sqrt {d} e} - \frac {b \log \left (c x^{n}\right )}{\sqrt {e x^{2} + d} e} - \frac {a}{\sqrt {e x^{2} + d} e} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*log(c*x^n))/(e*x^2+d)^(3/2),x, algorithm="maxima")

[Out]

-b*n*arcsinh(d/(sqrt(d*e)*abs(x)))/(sqrt(d)*e) - b*log(c*x^n)/(sqrt(e*x^2 + d)*e) - a/(sqrt(e*x^2 + d)*e)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {x\,\left (a+b\,\ln \left (c\,x^n\right )\right )}{{\left (e\,x^2+d\right )}^{3/2}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x*(a + b*log(c*x^n)))/(d + e*x^2)^(3/2),x)

[Out]

int((x*(a + b*log(c*x^n)))/(d + e*x^2)^(3/2), x)

________________________________________________________________________________________

sympy [A]  time = 12.77, size = 80, normalized size = 1.40 \[ - \frac {a}{e \sqrt {d + e x^{2}}} - b n \left (\begin {cases} \frac {x^{2}}{4 d^{\frac {3}{2}}} & \text {for}\: e = 0 \\\frac {\operatorname {asinh}{\left (\frac {\sqrt {d}}{\sqrt {e} x} \right )}}{\sqrt {d} e} & \text {otherwise} \end {cases}\right ) + b \left (\begin {cases} \frac {x^{2}}{2 d^{\frac {3}{2}}} & \text {for}\: e = 0 \\- \frac {1}{e \sqrt {d + e x^{2}}} & \text {otherwise} \end {cases}\right ) \log {\left (c x^{n} \right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a+b*ln(c*x**n))/(e*x**2+d)**(3/2),x)

[Out]

-a/(e*sqrt(d + e*x**2)) - b*n*Piecewise((x**2/(4*d**(3/2)), Eq(e, 0)), (asinh(sqrt(d)/(sqrt(e)*x))/(sqrt(d)*e)
, True)) + b*Piecewise((x**2/(2*d**(3/2)), Eq(e, 0)), (-1/(e*sqrt(d + e*x**2)), True))*log(c*x**n)

________________________________________________________________________________________